import { getAction } from './request';

// 查询系统配置详情
export function getSettingInfo(code) {
  return getAction(`/setting/info`, { code: code });
}

// 查询列表
export function getVideoList(params) {
  return getAction(`/video/list`, params);
}

// 查询详情
export function getVideoInfo(id) {
  return getAction(`/video/info`, { id: id });
}


// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
  return getAction('/system/dict/data/type/' + dictType)
}

export const typeList = [
  { text: "全部", value: "" },
]